home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / cmsopenprofile.z / cmsopenprofile
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccmmmmssssOOOOppppeeeennnnPPPPrrrrooooffffiiiilllleeee((((3333))))                    CCCCMMMMSSSS                     ccccmmmmssssOOOOppppeeeennnnPPPPrrrrooooffffiiiilllleeee((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cmsOpenProfile - open a profile for read or write
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
  13.  
  14.      iiiinnnntttt33332222 ccccmmmmssssOOOOppppeeeennnnPPPPrrrrooooffffiiiilllleeee ((((ccccttttxxxxtttt,,,, nnnnaaaammmmeeee,,,, pppprrrrooooffff))));;;;
  15.      CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
  16.      cccchhhhaaaarrrr ****nnnnaaaammmmeeee;;;;
  17.      CCCCMMMMSSSSPPPPrrrrooooffffiiiilllleeee ****pppprrrrooooffff;;;;
  18.  
  19. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.      _c_m_s_O_p_e_n_P_r_o_f_i_l_e must be called before reading from or writing to a
  21.      profile.  It must also be called before adding a profile to a transform.
  22.      0me is a pointer to a null-terminated string.  _p_r_o_f is a pointer to a
  23.      _C_M_S_P_r_o_f_i_l_e.  The profile will be initialized by the color management
  24.      system, and can be used in subsequent calls.  Tag data is only avail from
  25.      an open profile.  An attempt to open a non-existent file will result in
  26.      an error, CMS_PROFILE_NOT_FOUND.
  27.  
  28.      Profiles may be specified using either absolute or relative paths. If no
  29.      path prefix is found before the profile name, the CMS uses a profile
  30.      search path to look for the profile.  The profile search path may be set
  31.      with the environment variable CMS_PROFILE_PATH, which is a colon
  32.      separated list of paths. If that variable is not set, a default path is
  33.      used. The default path may be found in the header file "cms.h".
  34.  
  35. EEEERRRRRRRROOOORRRRSSSS
  36.      CMS_OUT_OF_MEMORY
  37.                There is not enough memory available to open the profile.
  38.  
  39.      CMS_PROFILE_NOT_FOUND
  40.                No profile was found corresponding to name.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.